package com.yand.frame.dao;

import com.yand.frame.entity.ActivityMenu;
import com.yand.frame.entity.ActivityRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface ActivityRoleMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ActivityRole record);

    int insertSelective(ActivityRole record);

    ActivityRole selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ActivityRole record);

    int updateByPrimaryKey(ActivityRole record);

    List<ActivityRole> queryRoleList(ActivityRole record);

    List<ActivityMenu> queryCheckedMenuByRoleId(Integer roleId);
}